package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.dto.SysUserPageQueryDTO;
import com.itheima.pojo.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author TrainingL
 * @since 2023-05-13
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 管理员分页
     * @param dto
     * @return
     */
    Page<SysUser> pageUser(SysUserPageQueryDTO dto);

}
